import {
  FormOutlined,
  ToolOutlined,
  MenuOutlined,
  UserOutlined,
  AuditOutlined,
  CompassOutlined,
  DesktopOutlined,
  SettingOutlined,
  FileTextOutlined,
  LineChartOutlined,
  ExceptionOutlined,
  CalculatorOutlined,
} from "@ant-design/icons";

export default [
  {
    label: "菜单",
    key: "menu",
    icon: MenuOutlined,
    children: [{ label: "系统首页", key: "/home" }],
  },
  {
    label: "客户",
    key: "custom",
    icon: UserOutlined,
    children: [
      {
        label: "客户列表",
        key: "/home/custom/list",
      },
    ],
  },
  {
    label: "商机",
    key: "business",
    icon: CompassOutlined,
    children: [],
  },
  {
    label: "订单",
    key: "order",
    icon: FileTextOutlined,
    children: [
      {
        label: "全部订单",
        key: "/home/order/allOrder",
      },
    ],
  },
  {
    label: "财务",
    key: "finance",
    icon: CalculatorOutlined,
    children: [
      {
        label: "回款计划",
        key: "/home/finance/return",
      },
    ],
  },
  {
    label: "审批",
    key: "examine",
    icon: FormOutlined,
    children: [],
  },
  {
    label: "统计",
    key: "statistics",
    icon: LineChartOutlined,
    children: [
      {
        label: "销售过程统计",
        key: "/home/statistics/process",
        children: [
          { label: "销售预测分析", key: "/home/statistics/process/prediction" },
        ],
      },
    ],
  },
  {
    label: "工单",
    key: "workOrder",
    icon: AuditOutlined,
    children: [],
  },
  {
    label: "申请",
    key: "applyFor",
    icon: ExceptionOutlined,
    children: [],
  },
  {
    label: "办公",
    key: "work",
    icon: DesktopOutlined,
    children: [],
  },
  {
    label: "工具",
    key: "tool",
    icon: ToolOutlined,
    children: [],
  },
  {
    label: "管理",
    key: "manage",
    icon: SettingOutlined,
    children: [],
  },
];
